package com.shemy.sshiro.service;

import com.shemy.sshiro.domain.SysUser;

/**
 *  用户Service
 * @author Dzsom
 * @date 2019-05-09 10:56
 */
public interface SysUserService{

    int deleteByPrimaryKey(Integer userId);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser findByName(String name);
}
